// 引入样式
import "./index.css";
import { Divider, Flex } from "antd";
import Title from "antd/lib/skeleton/Title";
import Link from "next/link";

// 主页
export default function HomePage() {
  return (
    <div id="homePage" className="max-width-content">
      <Flex justify="space-between" align="center">
        <Title level={3}>最新题库</Title>
        <Link href={"/banks"}>查看更多</Link>
      </Flex>
      <Divider />
      <Flex justify="space-between" align="center">
        <Title level={3}>最新题目</Title>
        <Link href={"/questions"}>查看更多</Link>
      </Flex>
    </div>
  );
}
